import { BossConfig } from "../../../../resource/BossConfig";
import { Cache } from "../../../../cache/Cache";
type int = number;
//class KingCopyBossInfo
    
    export  class KingCopyBossInfo
    {
        

        public get bossName(): string
        {
            var loc1=BossConfig.instance.getInfoByName(this.bossId);
            var loc2=Cache.instance.copy.copyInfo;
            if (loc2 && loc2.copyId == 199) 
            {
                this._bossName = String(loc1.name.split("（")[0]);
            }
            else 
            {
                this._bossName = loc1.name;
            }
            return this._bossName;
        }

        public /* var */bossId: int;

        public /* var */killNum: int;

        /* internal */ /* var */_bossName: string="";
    }
